//---------------------------------------------------------------------------
#ifndef uEcritureH
#define uEcritureH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CForm.h"
#include <DBGrids.hpp>
#include <Grids.hpp>
#include "CDate.h"
#include "CEdit.h"
#include <ExtCtrls.hpp>
#include "CBitBtn.h"
#include "CDBGrid.h"
#include "CEditNum.h"
#include "Compta.h"
#include "CTable.h"
#include <Db.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TfrmEcr : public CEICForm
{
__published:	// Composants gérés par l'EDI
  TPanel *Panel1;
  CDate *CDate1;
  CEdit *edJal;
  TPanel *Panel2;
  TPanel *Panel3;
  CBitBtn *btFermer;
  TPanel *PanelTotal;
  CDBGrid *CDBGrid1;
  CEditNum *edEcart;
  TTableHI *TableHI1;
  TDateField *TableHI1DateImputation;
  TStringField *TableHI1Compte;
  TStringField *TableHI1CodeJournal;
  TStringField *TableHI1Piece;
  TStringField *TableHI1LibelleOperation;
  TCurrencyField *TableHI1Montant;
  TBooleanField *TableHI1EstCrediteur;
  TDataSource *dsHI;
  TCurrencyField *TableHI1Debit;
  TCurrencyField *TableHI1Credit;
  TIntegerField *TableHI1IDEcriture;
  TIntegerField *TableHI1Flags;
  void __fastcall CDBGrid1MoveUserCol(TObject *Sender);
  void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  void __fastcall TableHI1CalcFields(TDataSet *DataSet);
  void __fastcall TableHI1FilterRecord(TDataSet *DataSet, bool &Accept);
private:	// Déclarations de l'utilisateur
public:		// Déclarations de l'utilisateur
    __fastcall TfrmEcr(const int IDEcriture, const AnsiString &strLibelle,TComponent* Owner);
};
//---------------------------------------------------------------------------

#endif
